package com.woniu.service.impl;

import com.woniu.entity.TakeawayOrder;
import com.woniu.mapper.DeliveryMapper;
import com.woniu.service.DeliveryService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
@AllArgsConstructor
public class DeliveryServiceImpl implements DeliveryService {
    private DeliveryMapper deliveryMapper;
    @Override
    public List<TakeawayOrder> queryDelivery() {
        return deliveryMapper.queryDelivery();
    }

    @Override
    public List<TakeawayOrder> queryTakeOrderBy(TakeawayOrder takeawayOrder) {
        return null;
    }
}
